# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/bmg_overlay/app-office/mybudget-0.60.ebuild,v 1.2 2004/07/02 15:06:32 max Exp $

inherit eutils

MYP="myBudget-${PV}"

DESCRIPTION="A gtk2/gnome personal finance manager"
HOMEPAGE="http://www.abisource.com/~msevior"
SRC_URI="http://www.abisource.com/~msevior/${MYP}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

DEPEND=">=x11-libs/gtk+-2.2  
        >=dev-python/pygtk-2.2
        >=gnome-base/libglade-2.0
        >=gnome-base/gconf-2.2
        >=dev-python/gnome-python-2.0.2"


src_compile(){
        cd ${WORKDIR}/${MYP}
        epatch ${FILESDIR}/${P}-sandbox-fix.patch
}

src_install(){
        cd ${WORKDIR}/${MYP}
        ./install.py ${D}/usr
        
        insinto /usr/share/applications
        doins myBudget.desktop
        insinto /usr/share/pixmaps
        doins myBudget-icon.svg
}
